package com.cqut.service;

import java.util.List;
import java.util.Map;

import com.cqut.dto.LimitShowDTO;
import com.cqut.model.JudgesAppointment;

public interface IJudgesAppointmentService {

	List<Map<String, Object>> getFlowStates();

	List<Map<String, Object>> getList(LimitShowDTO limitShowDTO, String competeName);

	long findCountOfList(String competeName);

	long findCountOfJudgesist(String judgeName);

	List<Map<String, Object>> getJudgesList(LimitShowDTO limitShowDTO, String judgeName);

	List<Map<String, Object>> getStates();

	boolean setJudges(List<Map<String, String>> states, List<Map<String, String>> addJudges);

	List<Map<String, String>> selectState(String[] stateList);

	List<Map<String, String>> selectJudges(String[] judgesList);

	boolean save(List<JudgesAppointment> judges);

	List<Map<String, Object>> getStateList(LimitShowDTO limitShowDTO, String stateName, String competitionId);

	long findCountOfStateList(String stateName, String competitionId);

	List<Map<String, Object>> getFlowList(LimitShowDTO limitShowDTO, String competitionId, String comProcessId);

	long findCountOfFlowList(String competitionId, String comProcessId);

	List<Map<String, Object>> getListByCom(String[] competitionId);

	List<Map<String, Object>> getListByPro(String[] comProcessIds);

	List<Map<String, Object>> getAppointJudges(String[] processDetailIds);

	List<Map<String, Object>> getDetailIds(String[] processIds);

	boolean deleteJudges(String[] deleteJudgesIds, String[] processDetailIds);

	boolean delete(String[] deleteJudgesIds, String[] processDetailIds);
}
